home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / DSOs / forum93 / case7 / bigthing.c next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  397 b   |  20 lines

  1. /* This file simulates a giant shared object.  In real life
  2.  * there would be many source files and many object files used
  3.  * to build the object.
  4.  */
  5.  
  6. #include <stdio.h>
  7.  
  8. void func1() {
  9.     printf("This is the old func1.\n\n");
  10. }
  11.  
  12. void func2() {
  13.     printf("This is the old func2, which is buggy.\n\n");
  14. }
  15.  
  16. void func3() {
  17.     printf("This is the old func3, which calls func2.\n");
  18.     func2();
  19. }
  20.